<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no"/>
    <link rel="stylesheet" href="resources/css/common.css" media="all"/>
    <script src="libs/jquery.min.js"></script>
    <link href="libs/artDialog/skins/default.css" rel="stylesheet" />
    <script src="libs/artDialog/artDialog.js"></script>
    <script src="libs/artDialog/plugins/iframeTools.js"></script>
<style>
.privilege .item{
	margin: 20px 0px 20px 30px;
}
</style>
</head>
<body >
	<div style="text-align:center;margin-top:10px">
		<h1 style="font-size:20px;color:red">输入邀请码，免费开通收款宝试用版！</h1>
    </div>
	<br/>
	<span id="result"></span>
	<div class="fm-item">
		<label for="invitecode" class="fm-label">请输入邀请码</label>
		<input type="text" id="invitecode" class="required" style="width:200px;height:25px"/>
		<div class="fm-explain" id="invitecode-tip"></div>
	</div>
	<div class="fm-item">
   	<span class="btn btn-ok">
        <input type="button" value="立即开通收款宝试用版" id="verify"/>
    </span>
    &nbsp;&nbsp;或&nbsp;&nbsp;
    <span>
        <a href="javascript:art.dialog.close()"/>暂不开通</a>
    </span>
	</div>
	<br/>
	<div>
		<h1 style="font-size:20px;">&nbsp;&nbsp;收款宝会员专享功能</h1>
		<hr/>
		<div class="privilege">
			<div class="item">
				<image src="/resources/images/credit.png" align="absmiddle"/>
				<span style="font-size:15px">您的客户用信用卡支付货款，扩大销售额！</span>	
			</div>
			<div class="item">
				<image src="/resources/images/geren.png" align="absmiddle"/>
				<span style="font-size:15px">支持您个人收款，收款更轻松！</span>
			</div>
			<div class="item">
				<image src="/resources/images/zhuye.png" align="absmiddle"/>
				<span style="font-size:15px">您专属的个性化收款主页，提升企业形象！</span>
			</div>
			<div class="item">
				<image src="/resources/images/yidn.png" align="absmiddle"/>
				<span style="font-size:15px">客户在异地24小时均能给您付款，加快资金流转速度！</span>
			</div>
			
			<div class="item">
				<image src="/resources/images/icon-note.png" align="absmiddle"/>
				<span>温馨提醒：若您没有邀请码，可向聚宝盆在线客服索取。
				&nbsp;&nbsp;在线客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2227972658&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:2227972658:42" alt="点击这里给我发消息" title="点击这里给我发消息"></img></a>
				
				</span>
			</div>
		</div>
	</div>
<script type="text/javascript">
$("#verify").click(function(){
	var code = $("#invitecode").val();
	$. post("/verifycode.htm",{
		'code':code
	},function(data){
		if(data=="success"){
			art.dialog.top.location.href = "registervip.htm?type=1&invitecode="+code;
		}else{
			$("#invitecode-tip").empty();
			$("#invitecode-tip").append("<span class='formtips onError' style='color:red'>请输入正确的邀请码</span>");
		}
	});
});
</script>
</body>
</html>